package com.yvon.maple.service.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yvon.boot.mybatis.model.BaseEntity;
import com.yvon.maple.enums.HttpMethodEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 资源
 *
 * @author : Yvon
 * @since : 2022-05-07
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("system_resource")
public class Resource extends BaseEntity implements Serializable {

    /**
     * 名称
     */
    private String name;

    /**
     * url
     */
    private String url;

    /**
     * 请求方式
     */
    private HttpMethodEnum method;
}
